<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ page import="java.sql.*" %>
<%@ page import="treballfinalUF2.operacionsAmbBBDD" %>
<jsp:useBean id="ObjBdades" scope="session"	class="treballfinalUF2.operacionsAmbBBDD" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Alumne concret</title>
<link HREF="stiles.css" REL="stylesheet" TYPE="text/css" >
</head>
<body>
<% 
String mevaid = request.getParameter("id");
ResultSet result = ObjBdades.retornaAlumne(mevaid); 

while (result.next()) {
	
	String nomalumne = result.getString("nomalumne");
	String idalumne = result.getString("idalumne");
	String idempresa = result.getString("mail");
	String grau = result.getString("grau");
%>
<ul style="font-size:0.7em">
<li><span style="color:Gray;font-weight:700;">Dades Alumne </span>
<li>ID: <%= mevaid  %> 
<li>Nom: <%= nomalumne %>  
<li>Mail: <%= idempresa %> 
<li>Grau: <%= grau %> 
</ul>
<%

}
%>
</body>
</html>